<?php

namespace myshop\common\validate\admin;

use think\Validate;

class CreateAdminApiLog extends Validate
{
    protected $rule = [
        'title|接口名称'=>'require',
        'route|接口地址'=>'require',
        'status|请求状态'=>'require',
        'method|请求方式'=>'require|in:get,post,put,delete',
        'admin_id|用户ID'=>'require',
        'admin_ip|用户IP地址'=>'require',
    ];
}